<?php

namespace App\Models\Shop;

use App\Models\BaseModel;

class AdModel extends BaseModel
{
    protected $table = 'shop_ad';

    protected $primaryKey = 'id';

    public $dateFormat = 'U';

    public function pos()
    {
        return $this->belongsTo('App\Models\Shop\AdPosModel','pos_id','id');
    }
}
